<template>
    <div class="photoFrame">
        <div class="tbBoder"><slot/></div>
    </div>
</template>

<script>
export default {
    
}
</script>

<style lang="scss" scoped>
    .photoFrame{
        position: relative;
        width: 100%;
        z-index: 10;
        padding: 30px;
        &::before,&::after{
            content: '';
            position: absolute;
            z-index: 10;
            width: 30px;
            height: 100%;
            background: #f3d0a6;
            left: 0;
            top: 0;
        }
        &::after{
            left: auto;
            right: 0;
            top:0;
        }
        .tbBoder{
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            &::before{
                content: '';
                position: absolute;
                z-index: 11;
                width: 100%;
                height: 30px;
                left: 0;
                top: 0;
                background: url('/images/xk1.png') left top no-repeat;
                background-size: 100% 100%;
            }
            &::after{
                content: '';
                position: absolute;
                z-index: 11;
                width: 100%;
                height: 30px;
                left: 0;
                top:auto;
                bottom: 0;
                background: url('/images/xk2.png') left top no-repeat;
                background-size: 100% 100%;
            }
        }
    }
</style>